package com.lxm.myInterface;

import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

import java.util.ArrayList;
import java.util.List;

/**
 * @author ：Administrator
 * @date :创建时间 2021/12/28 10:51
 */
public class MyInterfaceDemo {
    @Test
    @Disabled
    public void demo01() {
        this.myTest(() -> (new MyInterfaceImpl()),"");
        System.out.println("----------------------");
        new Thread(()-> System.out.println(111)).start();
    }


    public void myTest(MyInterface myInterface,String s) {
        System.out.println(1);
        System.out.println(myInterface.test());
        System.out.println(2);

    }
}
